Initialize bundle configuration with tests and CI - #1
Closed
GromNaN wants to merge 1 commit into
Closed
Conversation
There was a problem hiding this comment.
Pull request overview
This PR initializes continuous integration and testing infrastructure for the MongoDB Maker Bundle, implementing unit tests, static analysis with PHPStan, and coding standards checks using GitHub Actions workflows from doctrine/.github.
Key changes:
- Added PHPUnit test suite with initial bundle registration test
- Configured static analysis (PHPStan level 8) and coding standards (Doctrine CS)
- Set up CI workflows for automated testing, static analysis, and code style checks
Reviewed changes
Copilot reviewed 16 out of 18 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/bootstrap.php | Bootstrap file for test suite with error handler registration |
| tests/BundleTest.php | Integration test verifying bundle registration and command loader functionality |
| src/MongoDBMakerBundle.php | Converted from Bundle to AbstractBundle with configuration support |
| src/Maker/MakeDocument.php | Stub implementation of document maker command |
| phpunit.xml.dist | PHPUnit configuration with strict testing options |
| phpstan.neon.dist | PHPStan configuration at level 8 |
| phpcs.xml.dist | PHP_CodeSniffer configuration using Doctrine standards |
| config/makers.php | Service configuration for maker commands |
| composer.json | Added dev dependencies and package configuration |
| .github/workflows/*.yml | CI workflow definitions using reusable Doctrine workflows |
| .github/stale.yml | Stale issue/PR automation configuration |
| .github/dependabot.yml | Dependabot configuration for GitHub Actions |
| .gitattributes | Git attributes for line endings and export exclusions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
Author
|
Replaced by #2, the PR must come from the same repo to get the GitHub Actions to run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix PHPORM-437
Initialize CI using doctrine/.github actions: